package com.singfan.core.dao.database.model.constant;

/**
 * Author: hansonghe
 * Date: 2015-08-21 14:51
 * Desc:
 */
public class GenderType {
    /**
     * 未知
     */
    public static final int UNKNOWN = 0;

    /**
     * 男
     */
    public static final int MALE = 1;

    /**
     * 女
     */
    public static final int FEMALE = 2;

    public static boolean isGenderType(int value){
        return (value >= 0 && value <= 2);
    }
}
